package com.zone.domain.strategy.service.rule.tree.factory.engine;

import com.zone.domain.strategy.service.rule.tree.factory.DefaultTreeNodeFactory;

/**
 * @author: zongzi
 * @description: 规则树执行引擎
 * @date: 2024/6/11
 */
public interface IDecisionTreeEngine {

    /**
     * 执行规则
     *
     * @param strategyId 策略id
     * @param userId     用户id
     * @param awardId    奖品id
     */
    DefaultTreeNodeFactory.StrategyAwardVO execute(Long strategyId, String userId, Integer awardId);
}
